<?php
require_once 'IEntity.php';
class Notification implements IEntity {
	public $id;
	public $id_masker;
	public $id_masker_from;
	public $name_masker_from;
	public $text;
	public $link;
	public $notification_type;
	public $view;

	public static function getTableName() {
		return "notification";
	}
	
	public function setNotification($id, $id_masker, $id_masker_from, $name_masker_from, $text, $link, $notification_type, $view) {
		$this -> id = $id;
		$this -> id_masker = $id_masker;
		$this -> id_masker_from = $id_masker_from;
		$this -> name_masker_from = $name_masker_from;
		$this -> text = $text;
		$this -> link = $link;
		$this -> notification_type = $notification_type;
		$this -> view = $view;
	}
}
?>